from django.db import models


# Create your models here.
class Patient(models.Model):
    name = models.CharField(max_length=50,null=True, blank=True)
    gender = models.CharField(max_length=10,null=True, blank=True)
    addr = models.CharField(max_length=100,null=True, blank=True)
    age = models.IntegerField(null=True, blank=True)
    phone = models.CharField(max_length=50)
    password = models.CharField(max_length=500)  # 密码字段
    profilephoto = models.ImageField(upload_to='profile_photos/', blank=True, null=True)



